package com.udf.bean;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * Created by 张未然 on 2015/9/1.
 */
@XmlType(propOrder = {"name","target","keywords"})
@XmlAccessorType(XmlAccessType.FIELD)
public class CheckBean {

    @XmlAttribute
    private String name;

    @XmlAttribute
    private String target;

    @XmlElementWrapper(name="keywords")
    @XmlElement(name = "keyword")
    private List<String> keywords;

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public List<String> getKeywords() {
        return keywords;
    }

    public void setKeywords(List<String> keywords) {
        this.keywords = keywords;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
